package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppFilesDao;
import com.appkubes.portal.core.entity.PortalAppFiles;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppFilesService extends AbstractBaseService<BasePortalAppFilesDao, PortalAppFiles> {

    PortalAppFiles getOneByEntity(PortalAppFiles entity);

    List<PortalAppFiles> selectListByEntity(PortalAppFiles entity);

    IPage<PortalAppFiles> selectPageByEntity(IPage<PortalAppFiles> page);
    IPage<PortalAppFiles> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppFiles> selectPageByEntity(PortalAppFiles entity, IPage<PortalAppFiles> page);
    IPage<PortalAppFiles> selectPageByEntity(PortalAppFiles entity, PageVO pageVO);

    IPage<PortalAppFiles> selectPageByEntity(PortalAppFiles entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppFiles entity);
}
